package com.sunjs.model;

import com.sunjs.model.base.BaseCom;

/**
 * 
     * @ClassName: LyOrder(订单管理表)
     * @author gaochunyan
     * @date 2020/06/08
     *
 */

public class LyOrder extends BaseCom{

	/**
	 * 订单ID唯一值，供客户查询
	 */
	private String orderId;

	/**
	 * 商品ID
	 */
	private String productId;

	/**
	 * 商品SKU_ID
	 */
	private String productSkuId;

	/**
	 * 订单状态(0未付款,1已付款,2已发货,3已签收,4退货申请,5退货中,6已退货,7取消交易)
	 */
	private Integer orderStatus;

	/**
	 * 商品数量
	 */
	private Integer productCount;

	/**
	 * 商品总价
	 */
	private java.math.BigDecimal productAmount;

	/**
	 * 订单实付金额
	 */
	private java.math.BigDecimal orderAmount;

	/**
	 * 运费金额
	 */
	private java.math.BigDecimal freightAmount;

	/**
	 * 是否开具发票 (0:否，1：是)
	 */
	private Integer invoiceFlg;

	/**
	 * 发票id
	 */
	private Integer invoiceId;

	/**
	 * 用户收货地址编号
	 */
	private Integer useraddrId;

	/**
	 * 订单支付渠道
	 */
	private String orderChannel;

	/**
	 * 支付流水号
	 */
	private String orderTradeNo;

	/**
	 * 付款时间
	 */
	private String paymentTime;

	/**
	 * 发货时间
	 */
	private String shipTime;

	/**
	 * 客户ID
	 */
	private Integer userloginId;

	/**
	 * 客户备注
	 */
	private String userloginInfo;

	/**
	 * 订单结算状态 (货到付款、分期付款会用到)
	 */
	private Integer orderSettlementStatus;

	/**
	 * 订单结算时间
	 */
	private String orderSettlementTime;

    /**
     * 删除状态 (0可用1删除)
     */
    private Integer status;

    @Override  
    public Object clone() {  
        LyOrder lyOrder = new LyOrder();  
        try{  
            lyOrder = (LyOrder)super.clone();  
        }catch(CloneNotSupportedException e) {  
            e.printStackTrace();  
        }  
        return lyOrder;  
    }

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductSkuId() {
		return productSkuId;
	}

	public void setProductSkuId(String productSkuId) {
		this.productSkuId = productSkuId;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Integer getProductCount() {
		return productCount;
	}

	public void setProductCount(Integer productCount) {
		this.productCount = productCount;
	}

	public java.math.BigDecimal getProductAmount() {
		return productAmount;
	}

	public void setProductAmount(java.math.BigDecimal productAmount) {
		this.productAmount = productAmount;
	}

	public java.math.BigDecimal getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(java.math.BigDecimal orderAmount) {
		this.orderAmount = orderAmount;
	}

	public java.math.BigDecimal getFreightAmount() {
		return freightAmount;
	}

	public void setFreightAmount(java.math.BigDecimal freightAmount) {
		this.freightAmount = freightAmount;
	}

	public Integer getInvoiceFlg() {
		return invoiceFlg;
	}

	public void setInvoiceFlg(Integer invoiceFlg) {
		this.invoiceFlg = invoiceFlg;
	}

	public Integer getInvoiceId() {
		return invoiceId;
	}

	public void setInvoiceId(Integer invoiceId) {
		this.invoiceId = invoiceId;
	}

	public Integer getUseraddrId() {
		return useraddrId;
	}

	public void setUseraddrId(Integer useraddrId) {
		this.useraddrId = useraddrId;
	}

	public String getOrderChannel() {
		return orderChannel;
	}

	public void setOrderChannel(String orderChannel) {
		this.orderChannel = orderChannel;
	}

	public String getOrderTradeNo() {
		return orderTradeNo;
	}

	public void setOrderTradeNo(String orderTradeNo) {
		this.orderTradeNo = orderTradeNo;
	}

	public String getPaymentTime() {
		return paymentTime;
	}

	public void setPaymentTime(String paymentTime) {
		this.paymentTime = paymentTime;
	}

	public String getShipTime() {
		return shipTime;
	}

	public void setShipTime(String shipTime) {
		this.shipTime = shipTime;
	}

	public Integer getUserloginId() {
		return userloginId;
	}

	public void setUserloginId(Integer userloginId) {
		this.userloginId = userloginId;
	}

	public String getUserloginInfo() {
		return userloginInfo;
	}

	public void setUserloginInfo(String userloginInfo) {
		this.userloginInfo = userloginInfo;
	}

	public Integer getOrderSettlementStatus() {
		return orderSettlementStatus;
	}

	public void setOrderSettlementStatus(Integer orderSettlementStatus) {
		this.orderSettlementStatus = orderSettlementStatus;
	}

	public String getOrderSettlementTime() {
		return orderSettlementTime;
	}

	public void setOrderSettlementTime(String orderSettlementTime) {
		this.orderSettlementTime = orderSettlementTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
    
    
}
